package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.PaymentBill;
import cn.wolfcode.crm.query.PaymentBillQueryObject;

import java.util.List;

public interface PaymentBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PaymentBill record);

    PaymentBill selectByPrimaryKey(Long id);

    List<PaymentBill> selectAll();

    int updateByPrimaryKey(PaymentBill record);

    //查总数
    int  queryForCount(PaymentBillQueryObject qo);

    //查分页数据
    List<PaymentBill> queryForList(PaymentBillQueryObject qo);
}